#pragma once

#include <QWidget>
#include "networkmanager.h"

QT_BEGIN_NAMESPACE
namespace Ui { class ExpiryCheckWindow; }
QT_END_NAMESPACE

class ExpiryCheckWindow : public QWidget
{
    Q_OBJECT

public:
    ExpiryCheckWindow(QWidget *parent = nullptr);
    ~ExpiryCheckWindow();

private slots:
    void handleCheckExpiryResponse(const QJsonObject &response);

    void on_checkButton_clicked();

private:
    Ui::ExpiryCheckWindow *expirycheckwindowUi;
    NetworkManager* networkManager;
};



